#ifndef KDM3PRIMARYGENERATORACTION
#define KDM3PRIMARYGENERATORACTION

#include <G4VUserPrimaryGeneratorAction.hh>
#include <G4HEPEvtInterface.hh>

class KDM3PrimaryGeneratorAction : public G4VUserPrimaryGeneratorAction
{
	public:
		KDM3PrimaryGeneratorAction(G4String eventFilePath, G4String photonPosFilePath, int photonCount);
		~KDM3PrimaryGeneratorAction();

		void GeneratePrimaries(G4Event*);

	private:
		int			numOfPhotons;
		double**	photonPosList;
		G4HEPEvtInterface* interface;
};

#endif
